<?php

namespace App\Models;

class Feedback extends Model
{
    protected $fillable = ['user_id', 'content', 'photos'];

    public function user()
    {
        return $this->belongsTo('App\Models\User')->select(['id', 'username', 'avatar']);
    }
}
